<?php
namespace app\core;

/**
 * 用户角色
 *
 * @author liangchupeng
 * @since 2016.08.17
 */
interface IRoleService
{
    //获得角色列表接口
    public function getRoleList($where = [], $params = [], $fields = ['*'], $pageIndex = null, $pageSize = null, $orderBy = null, $indexBy = null, $groupBy = null);
    //根据查询条件获得一条记录
    public function getRoleByCondition($where = [], $params = [], $fields = ['*']);
}
